<h1>Project Source Listing</h1>
<div id="issue-list">
<table>
  <tr>
  <% for column in ProjectSource.content_columns %>
    <th><%= column.human_name %></th>
  <% end %>
	<th colspan="3">Operations</th>
  </tr>
  
<% for project_source in @project_sources %>
  <tr class="<%= cycle('list-line-odd', 'list-line-even') %>">
  <% for column in ProjectSource.content_columns %>
    <td><%=h project_source.send(column.name) %></td>
  <% end %>
    <td><%= link_to 'Show', :action => 'show', :id => project_source %></td>
    <td><%= link_to 'Edit', :action => 'edit', :id => project_source %></td>
    <td><%= link_to 'Destroy', { :action => 'destroy', :id => project_source }, :confirm => 'Are you sure?', :method => :post %></td>
    </tr>
    <% end %>
</table>
</div>
<%= link_to 'Previous page', { :page => @project_source_pages.current.previous } if @project_source_pages.current.previous %>
<%= link_to 'Next page', { :page => @project_source_pages.current.next } if @project_source_pages.current.next %> 

<br />

<%= link_to 'New project_source', :action => 'new' %>
